<?php
/**
 * Joomla! 1.5 component JoomGPSTracks
 *
 * @version $Id: view.html.php 2009-06-24 15:40:19 svn $
 * @author Michael Pfister
 * @package joomGPStracks
 * @subpackage frontend
 * @license GNU/GPL
 * @filesource
 *
 * 
 */

// no direct access
defined('_JEXEC') or die('Restricted access');

jimport( 'joomla.application.component.view');

/**
 * HTML View class for the JoomGPStracks component
 */
class JoomgpstracksViewCats extends JView {

    function display($tpl = null) {
        global $mainframe;

        $lh = layoutHelper::navigation();
        $footer = layoutHelper::footer();
        $pathway =& $mainframe->getPathway();
        $pathway->addItem(JText::_('GPS_CATS'), '');
        $mainframe->setPagetitle(JText::_('GPS_CATS'));
        $model = $this->getModel();
        $cats = $model->getCats();

        $this->assignRef('lh',          $lh);
        $this->assignRef('footer',      $footer);
        $this->assignRef('cats',        $cats);
        $this->assignRef('model',       $model);
  
        parent::display($tpl);
    }
}

?>